package com.mock.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum GenderEnum implements IEnum<String> {

    MALE("男"),
    FEMALE("女");

    private String value;
    private String label;

    GenderEnum(String label) {
        this.label = label;
        this.value = this.name();
    }

    @Override
    public String getValue() {
        return value;
    }

    public String getLabel() {
        return label;
    }
}
